#ifndef JIEMIAN1_H
#define JIEMIAN1_H

#include <QWidget>
#include<QPushButton>

#include"tui.h"

class jiemian1 : public QWidget
{  Q_OBJECT
public:
    explicit jiemian1(QWidget *parent = nullptr);
    void keyPressEvent(QKeyEvent* event);
    void paintEvent(QPaintEvent *event);
    void rechange();
signals:

public slots:
private:QPainter* pMap;
    boxGame* pBox;
    QMediaPlayer *player;
    QMediaPlaylist *playlist;
    QPushButton b;
QPushButton c;int core;
};

#endif // JIEMIAN1_H
